package com.jonah.executor;

import com.jonah.pojo.Configuration;
import com.jonah.pojo.MappedStatement;

import java.util.List;

/**
 * @Author: Jonah.Chen
 * @Date: 2020/8/5 22:46
 * @Description:
 */
public interface Executor {

    <T> List<T> query(Configuration configuration, MappedStatement mappedStatement, Object... params) throws Exception;

    Integer update(Configuration configuration, MappedStatement mappedStatement, Object param) throws Exception;
}